//
//  CTVMediaAsset.m
//  Channltv
//
//  Created by Bruno  Keymolen on 12/07/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import "CTVMediaAsset.h"
//#import "CGImage.h"

@implementation CTVMediaAsset

 -(void) init{
	m_mediatype = [BRMediaType movie];
	[super init];
 }



-(void) dealloc{ 	
	[super dealloc]; //do not forget to transmit to the superclass 
} 


-(void)setTitle:(NSString*)title{
	m_title = title;
}

-(void)setCoverArt:(CGImageRef)image{
	m_coverArt = image;
}

-(void)setMediaUrl:(NSURL*)url{
	m_mediaUrl = url;
}

-(void)setLocal:(BOOL)local{
	m_local = local;
}

-(void)setDuration:(long)duration{
	m_duration = duration;
}

-(void)setMediaType:(BRMediaType*)mediatype{
	m_mediatype = mediatype;
}

-(void)setDescription:(NSString*)description{
	m_description = description;
}

-(NSString*)description{
	return m_description;
}

- (id)mediaDescription{ /* 11 */
	return m_description;
}

- (id)mediaSummary{
	return m_description;
}

- (id)title{ /* 9 */
	return m_title;
}





- (id)provider{
	return [super provider];
}
- (id)assetID{
	return [super assetID];
}
- (id)artist{
	return [super artist];
}
- (id)artistForSorting{
	return [super artistForSorting];
}

- (id)titleForSorting{
	return [super titleForSorting];
}

- (id)copyright{
	return [super copyright];
}
- (long)duration{ /* 12 */
	return m_duration;
}
- (long)performanceCount{
	return [super performanceCount];
}
- (id)cast{ /* 14 */
	return [super cast];
}
- (id)directors{ /* 15 */
	return [super directors];
}
- (id)mediaURL{
	return m_mediaUrl;
	//return [super mediaURL];
}
- (id)previewURL{
	return [super previewURL];
}
- (id)mediaUTI{
	return [super mediaUTI];
}
- (BOOL)hasCoverArt{ /* 2 */
	if(m_coverArt == nil){
		return NO;
	}else{
		return YES;
	}
}
- (id)coverArtID{
	return [super coverArtID];
}
- (id)thumbnailArtID{
	return [super thumbnailArtID];
}
- (CGImageRef)coverArt{ /* 4 */
	return m_coverArt;
}
- (CGImageRef)thumbnailArt{
	return m_coverArt;
}
- (CGImageRef)coverArtForBookmarkTimeInMS:(unsigned int)fp8{
	return [super coverArtForBookmarkTimeInMS:fp8];
}
- (id)dateAcquired{
	return [super dateAcquired];
}
- (id)datePublished{ /* 16 */
	return [super datePublished];
}
- (id)mediaType{ /* 4 5 6 7 8 17 18 19 20 21 */
	return m_mediatype;
}
- (id)primaryGenre{ /* 13 */
	return [super primaryGenre];
}
- (id)genres{
	return [super genres];
}
- (int)primaryCollectionOrder{
	return [super primaryCollectionOrder];
}
- (int)physicalMediaID{
	return [super physicalMediaID];
}
- (id)seriesName{
	return [super seriesName];
}
- (id)seriesNameForSorting{
	return [super seriesNameForSorting];
}
- (id)broadcaster{
	return [super broadcaster];
}
- (id)episodeNumber{
	return [super episodeNumber];
}
- (unsigned int)season{
	return [super season];;
}
- (unsigned int)episode{
	return [super episode];
}
- (id)mediaCollections{
	return [super mediaCollections];
}
- (float)userStarRating{
	return [super userStarRating];
}
- (void)setUserStarRating:(float)fp8{
	[super setUserStarRating:fp8];
}
- (id)rating{ /* 10 */
	return [super rating];
}
- (float)starRating{
	return [super starRating];
}
- (id)publisher{
	return [super publisher];
}
- (id)composer{
	return [super composer];
}
- (id)composerForSorting{
	return [super composerForSorting];
}
- (BOOL)hasVideoContent{
	return [super hasVideoContent];
}
- (BOOL)isDisabled{
	return [super isDisabled];
}
- (BOOL)isProtectedContent{
	return [super isProtectedContent];
}
- (id)playbackRightsOwner{
	return [super playbackRightsOwner];
}
- (void)setBookmarkTimeInSeconds:(unsigned int)fp8{
	[super setBookmarkTimeInSeconds:fp8];
}
- (void)setBookmarkTimeInMS:(unsigned int)fp8{
	[super setBookmarkTimeInMS:fp8];
}
- (unsigned int)bookmarkTimeInSeconds{
	return [super bookmarkTimeInSeconds];
}
- (unsigned int)bookmarkTimeInMS{
	return [super bookmarkTimeInMS];
}
- (unsigned int)startTimeInSeconds{
	return [super startTimeInSeconds];
}
- (unsigned int)startTimeInMS{
	return [super startTimeInMS];
}
- (unsigned int)stopTimeInSeconds{
	return [super stopTimeInSeconds];
}
- (unsigned int)stopTimeInMS{
	return [super stopTimeInMS];
}
- (id)primaryCollection{
	return [super primaryCollection];
}
- (id)primaryCollectionTitle{
	return [super primaryCollectionTitle];
}
- (id)collections{
	return [super collections];
}
- (id)dateAcquiredString{
	return [super dateAcquiredString];
}
- (id)datePublishedString{
	return [super datePublishedString];
}
- (void)logDescription{
	[super logDescription];
}
- (id)resolution{
	return [super resolution];
}
- (id)authorName{
	return [super authorName];
}
- (id)keywords{
	return [super keywords];
}
- (id)viewCount{
	return [super viewCount];
}
- (id)category{
	return [super category];
}
- (BOOL)isInappropriate{
	return [super isInappropriate];
}
- (int)grFormat{
	return [super grFormat];
}
- (BOOL)canBePlayedInShuffle{
	return [super canBePlayedInShuffle];
}
- (BOOL)isLocal{ /* 1 */
	return m_local;
	//return [super isLocal];
}
- (CGImageRef)coverArtNoDefault{ /* 3 */
	return m_coverArt;
	//return [super coverArtNoDefault];
}
- (void)registerPendingAsset:(id)fp8{
	[super registerPendingAsset:fp8];
}
- (void)loadCoverArtForAssetArtLoader:(id)fp8{
	[super loadCoverArtForAssetArtLoader:fp8];
}
- (void)skip{
	[super skip];
}
- (void)willBeDeleted{
	[super willBeDeleted];
}
- (BOOL)isEqual:(id)fp8{
	return nil;
}
- (unsigned int)hash{
	return [super hash];
}


@end
